//
//  JButton.h
//  HeadIndustry
//
//  Created by jun on 2017/8/25.
//  Copyright © 2017年 jun. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^tapHandler)(UIButton *sender);


@interface JButton : UIButton

@property (nonatomic,strong)tapHandler handler;
+ (instancetype)buttonWithType:(UIButtonType)buttonType frame:(CGRect)frame title:(NSString *)title titleColor:(UIColor *)titleColor titleFont:(CGFloat)font textAlignment:(NSTextAlignment)textAlignment  image:(NSString *)image imageViewContentMode:(UIViewContentMode)imageViewContentMode  tag:(NSInteger)tag imageURL:(NSString *)imageURL  handler:(tapHandler)handler;

@end

